﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Classes;
using FlightSystemControlLayer;
namespace FlightSystemWCF
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "FlightSystemService" in both code and config file together.
    public class FlightSystemService : IFlightSystemService
    {
        private static SearcherCtr searcherCtr = new SearcherCtr();
        public IList<City> RetreiveCities()
        {
            IList<City> cities = searcherCtr.getCityList();
            return cities;
        }
    }
}
